<?php
 $q=$_GET["q"];
$hint="";
if(strlen($q)>=10)
{
$hint='<progress value="100" max="100"></progress>';
}
if(strlen($q)<10)
{
$len=strlen($q)*10;
$hint="<progress value='$len' max='100'></progress>";
}
if(strlen($q)<10)
{
$hint=$hint." Weak Password";
}
if(strlen($q)>=10)
{
$hint=$hint." Strong Password";
}
if($hint=="")
{
$response="";
}
else
{
$response=$hint;
}
echo $response;
?>